{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "# -*- coding: utf-8 -*-\n",
    "# @Author: omi\n",
    "# @Date:   2014-08-24 21:51:57\n",
    "'''\n",
    "网易云音乐 Api\n",
    "'''\n",
    "from builtins import chr\n",
    "from builtins import int\n",
    "from builtins import map\n",
    "from builtins import open\n",
    "from builtins import range\n",
    "from builtins import str\n",
    "from builtins import pow\n",
    "import re\n",
    "import os\n",
    "import json\n",
    "import time\n",
    "import hashlib\n",
    "import random\n",
    "import base64\n",
    "import binascii\n",
    "from Crypto.Cipher import AES\n",
    "from bs4 import BeautifulSoup\n",
    "import requests"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "modulus = ('00e0b509f6259df8642dbc35662901477df22677ec152b5ff68ace615bb7'\n",
    "           'b725152b3ab17a876aea8a5aa76d2e417629ec4ee341f56135fccf695280'\n",
    "           '104e0312ecbda92557c93870114af6c9d05c4f7f0c3685b7a46bee255932'\n",
    "           '575cce10b424d813cfe4875d3e82047b97ddef52741d546b8e289dc6935b'\n",
    "           '3ece0462db0a22b8e7')\n",
    "nonce = '0CoJUm6Qyw8W8jud'\n",
    "pubKey = '010001'\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'Accept': '*/*',\n",
       " 'Accept-Encoding': 'gzip,deflate,sdch',\n",
       " 'Accept-Language': 'zh-CN,zh;q=0.8,gl;q=0.6,zh-TW;q=0.4',\n",
       " 'Connection': 'keep-alive',\n",
       " 'Content-Type': 'application/x-www-form-urlencoded',\n",
       " 'Host': 'music.163.com',\n",
       " 'Referer': 'http://music.163.com/search/',\n",
       " 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.152 Safari/537.36',\n",
       " 'cookies': 'appver=1.5.2'}"
      ]
     },
     "execution_count": 3,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "header = {\n",
    "            'Accept': '*/*',\n",
    "            'Accept-Encoding': 'gzip,deflate,sdch',\n",
    "            'Accept-Language': 'zh-CN,zh;q=0.8,gl;q=0.6,zh-TW;q=0.4',\n",
    "            'Connection': 'keep-alive',\n",
    "            'Content-Type': 'application/x-www-form-urlencoded',\n",
    "            'Host': 'music.163.com',\n",
    "            'cookies': 'appver=1.5.2',\n",
    "            'Referer': 'http://music.163.com/search/',\n",
    "            'User-Agent':\n",
    "            'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.152 Safari/537.36'  # NOQA\n",
    "        }\n",
    "header"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "def encrypted_request(text):\n",
    "    text = json.dumps(text)\n",
    "    secKey = createSecretKey(16)\n",
    "    encText = aesEncrypt(aesEncrypt(text, nonce), secKey)\n",
    "    encSecKey = rsaEncrypt(secKey, pubKey, modulus)\n",
    "    data = {'params': encText, 'encSecKey': encSecKey}\n",
    "    return data\n",
    "\n",
    "\n",
    "def aesEncrypt(text, secKey):\n",
    "    pad = 16 - len(text) % 16\n",
    "    text = text + chr(pad) * pad\n",
    "    encryptor = AES.new(secKey, 2, '0102030405060708')\n",
    "    ciphertext = encryptor.encrypt(text)\n",
    "    ciphertext = base64.b64encode(ciphertext).decode('utf-8')\n",
    "    return ciphertext\n",
    "\n",
    "\n",
    "def rsaEncrypt(text, pubKey, modulus):\n",
    "    text = text[::-1]\n",
    "    rs = pow(int(binascii.hexlify(text), 16), int(pubKey, 16), int(modulus, 16))\n",
    "    return format(rs, 'x').zfill(256)\n",
    "\n",
    "def createSecretKey(size):\n",
    "    return binascii.hexlify(os.urandom(size))[:16]\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'encSecKey': '825a17b698ef6e762487697504116dc0a3b076191af66d14e18b57bfee0b5e8f4fdb8bf3e99ab0ca555901b5bed71289b7584ad543837ee0c32f5aab89081290b76606d172de9d5858ef4279348bb1b2aef1ee025ca83489fdc1fd1641bbb80d695f5c40186f139342647f0dc12d17fc4b1535d17f9931027c2091b63488736a',\n",
       " 'params': '1UU6Ka+myQcqzsnhdyEaHGhfLvJnJwEwtNb7tn8NUbUoqH02Oz6nQW13gvUZ897AyuMLUOHHvvsni1Zj/WsagL1VOdh73SqZzp2R+HvZRHPzQ6uXSmdWV5C4ABXFYhN1pCJDI4WtYQMFtAaz42uZdsFGQnF++0LnFAqUd6OjQVlCnVFP2SGi5Hy2pfE/WCYxBJoH9YJYd4EncNTfuCHR1Gc/jgvtwwovslOQ+cQEab8LsolSl45IfprYnzVgc0FvzIKnhpUhl3H03kD4bn4RN+ohkqsbZV+kSYY02EIF4O8='}"
      ]
     },
     "execution_count": 5,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "text = {\"hlpretag\":\"<span class=\\'s-fc7\\'>\",\"hlposttag\":\"</span>\",\"limit\":\"30\",\"offset\":\"1\",\"s\":\"李志\",\"total\":\"true\",\"type\":\"1\",\"csrf_token\":\"\"}\n",
    "data = encrypted_request(text)\n",
    "data"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'{\"result\":{\"songs\":[{\"name\":\"天空之城\",\"id\":26508186,\"pst\":0,\"t\":0,\"ar\":[{\"id\":3681,\"name\":\"李志\",\"tns\":[],\"alias\":[]}],\"alia\":[],\"pop\":100.0,\"st\":0,\"rt\":\"\",\"fee\":0,\"v\":15,\"crbt\":null,\"cf\":\"\",\"al\":{\"id\":2515024,\"name\":\"我爱南京\",\"picUrl\":\"http://p1.music.126.net/qDiDdR6wbQCsGsn34dmCVg==/2378243650941255.jpg\",\"tns\":[],\"pic\":2378243650941255},\"dt\":223015,\"h\":{\"br\":320000,\"fid\":0,\"size\":8947321,\"vd\":-0.89},\"m\":{\"br\":160000,\"fid\":0,\"size\":4485085,\"vd\":-0.47},\"l\":{\"br\":96000,\"fid\":0,\"size\":2700191,\"vd\":-0.48},\"a\":null,\"cd\":\"1\",\"no\":5,\"rtUrl\":null,\"ftype\":0,\"rtUrls\":[],\"djId\":0,\"copyright\":1,\"s_id\":0,\"rtype\":0,\"rurl\":null,\"mst\":9,\"cp\":16001,\"mv\":0,\"publishTime\":1255622400007,\"privilege\":{\"id\":26508186,\"fee\":0,\"payed\":0,\"st\":0,\"pl\":320000,\"dl\":320000,\"sp\":7,\"cp\":1,\"subp\":1,\"cs\":false,\"maxbr\":999000,\"fl\":320000,\"toast\":false,\"flag\":2}},{\"name\":\"关于郑州的记忆\",\"id\":25867002,\"pst\":0,\"t\":0,\"ar\":[{\"id\":3681,\"name\":\"李志\",\"tns\":[],\"alias\":[]}],\"alia\":[],\"pop\":100.0,\"st\":0,\"rt\":\"\",\"fee\":0,\"v\":26,\"crbt\":null,\"cf\":\"\",\"al\":{\"id\":2336486,\"name\":\"你好,郑州\",\"picUrl\":\"http://p1.music.126.net/80diFjTazGCdf0Ql3HAqGA==/2296879790481625.jpg\",\"tns\":[],\"pic\":2296879790481625},\"dt\":228146,\"h\":{\"br\":320000,\"fid\":0,\"size\":9145643,\"vd\":0.573325},\"m\":{\"br\":160000,\"fid\":0,\"size\":4581007,\"vd\":0.551266},\"l\":{\"br\":96000,\"fid\":0,\"size\":2755153,\"vd\":-2.65076E-4},\"a\":null,\"cd\":\"1\",\"no\":3,\"rtUrl\":null,\"ftype\":0,\"rtUrls\":[],\"djId\":0,\"copyright\":1,\"s_id\":0,\"rtype\":0,\"rurl\":null,\"mst\":9,\"cp\":16001,\"mv\":290061,\"publishTime\":1283270400007,\"privilege\":{\"id\":25867002,\"fee\":0,\"payed\":0,\"st\":0,\"pl\":320000,\"dl\":320000,\"sp\":7,\"cp\":1,\"subp\":1,\"cs\":false,\"maxbr\":999000,\"fl\":320000,\"toast\":false,\"flag\":2}},{\"name\":\"和你在一起\",\"id\":26523120,\"pst\":0,\"t\":0,\"ar\":[{\"id\":3681,\"name\":\"李志\",\"tns\":[],\"alias\":[]}],\"alia\":[],\"pop\":100.0,\"st\":0,\"rt\":\"\",\"fee\":0,\"v\":26,\"crbt\":null,\"cf\":\"\",\"al\":{\"id\":2518001,\"name\":\"这个世界会好吗\",\"picUrl\":\"http://p1.music.126.net/JUE7I2P9IwGOLPtxGvtTnQ==/2399134371866485.jpg\",\"tns\":[],\"pic\":2399134371866485},\"dt\":251933,\"h\":{\"br\":320000,\"fid\":0,\"size\":10080173,\"vd\":-0.71},\"m\":{\"br\":160000,\"fid\":0,\"size\":5040109,\"vd\":-0.27},\"l\":{\"br\":96000,\"fid\":0,\"size\":3024083,\"vd\":-0.26},\"a\":null,\"cd\":\"1\",\"no\":3,\"rtUrl\":null,\"ftype\":0,\"rtUrls\":[],\"djId\":0,\"copyright\":1,\"s_id\":0,\"rtype\":0,\"rurl\":null,\"mst\":9,\"cp\":16001,\"mv\":0,\"publishTime\":1150300800000,\"privilege\":{\"id\":26523120,\"fee\":0,\"payed\":0,\"st\":0,\"pl\":320000,\"dl\":320000,\"sp\":7,\"cp\":1,\"subp\":1,\"cs\":false,\"maxbr\":999000,\"fl\":320000,\"toast\":false,\"flag\":2}},{\"name\":\"梵高先生\",\"id\":26508240,\"pst\":0,\"t\":0,\"ar\":[{\"id\":3681,\"name\":\"李志\",\"tns\":[],\"alias\":[]}],\"alia\":[],\"pop\":100.0,\"st\":0,\"rt\":\"\",\"fee\":0,\"v\":22,\"crbt\":null,\"cf\":\"\",\"al\":{\"id\":2515029,\"name\":\"梵高先生\",\"picUrl\":\"http://p1.music.126.net/UuSe-Vc6rS7JtRJSQgDU2g==/2323268069553116.jpg\",\"tns\":[],\"pic\":2323268069553116},\"dt\":249746,\"h\":{\"br\":320000,\"fid\":0,\"size\":9992402,\"vd\":-0.48},\"m\":{\"br\":160000,\"fid\":0,\"size\":4996223,\"vd\":-0.04},\"l\":{\"br\":96000,\"fid\":0,\"size\":2997751,\"vd\":-0.05},\"a\":null,\"cd\":\"1\",\"no\":6,\"rtUrl\":null,\"ftype\":0,\"rtUrls\":[],\"djId\":0,\"copyright\":1,\"s_id\":0,\"rtype\":0,\"rurl\":null,\"mst\":9,\"cp\":16001,\"mv\":0,\"publishTime\":1126713600000,\"privilege\":{\"id\":26508240,\"fee\":0,\"payed\":0,\"st\":0,\"pl\":320000,\"dl\":320000,\"sp\":7,\"cp\":1,\"subp\":1,\"cs\":false,\"maxbr\":999000,\"fl\":320000,\"toast\":false,\"flag\":2}},{\"name\":\"山阴路的夏天\",\"id\":26508232,\"pst\":0,\"t\":0,\"ar\":[{\"id\":3681,\"name\":\"李志\",\"tns\":[],\"alias\":[]}],\"alia\":[],\"pop\":100.0,\"st\":0,\"rt\":\"\",\"fee\":0,\"v\":16,\"crbt\":null,\"cf\":\"\",\"al\":{\"id\":2515028,\"name\":\"F\",\"picUrl\":\"http://p1.music.126.net/7w7pX7BKTdBcFF1AtuZC2g==/5957153999486269.jpg\",\"tns\":[],\"pic\":5957153999486269},\"dt\":278024,\"h\":{\"br\":320000,\"fid\":0,\"size\":11124107,\"vd\":-2.65076E-4},\"m\":{\"br\":160000,\"fid\":0,\"size\":5562116,\"vd\":-2.65076E-4},\"l\":{\"br\":96000,\"fid\":0,\"size\":3337320,\"vd\":-2.65076E-4},\"a\":null,\"cd\":\"1\",\"no\":5,\"rtUrl\":null,\"ftype\":0,\"rtUrls\":[],\"djId\":0,\"copyright\":1,\"s_id\":0,\"rtype\":0,\"rurl\":null,\"mst\":9,\"cp\":16001,\"mv\":313139,\"publishTime\":1317225600007,\"privilege\":{\"id\":26508232,\"fee\":0,\"payed\":0,\"st\":0,\"pl\":320000,\"dl\":320000,\"sp\":7,\"cp\":1,\"subp\":1,\"cs\":false,\"maxbr\":999000,\"fl\":320000,\"toast\":false,\"flag\":2}},{\"name\":\"你离开了南京，从此没有人和我说话\",\"id\":26508242,\"pst\":0,\"t\":0,\"ar\":[{\"id\":3681,\"name\":\"李志\",\"tns\":[],\"alias\":[]}],\"alia\":[],\"pop\":100.0,\"st\":0,\"rt\":\"\",\"fee\":0,\"v\":22,\"crbt\":null,\"cf\":\"\",\"al\":{\"id\":2515029,\"name\":\"梵高先生\",\"picUrl\":\"http://p1.music.126.net/UuSe-Vc6rS7JtRJSQgDU2g==/2323268069553116.jpg\",\"tns\":[],\"pic\":2323268069553116},\"dt\":71813,\"h\":{\"br\":320000,\"fid\":0,\"size\":2875602,\"vd\":-2.51},\"m\":{\"br\":160000,\"fid\":0,\"size\":1437823,\"vd\":-2.08},\"l\":{\"br\":96000,\"fid\":0,\"size\":862711,\"vd\":-2.06},\"a\":null,\"cd\":\"1\",\"no\":1,\"rtUrl\":null,\"ftype\":0,\"rtUrls\":[],\"djId\":0,\"copyright\":1,\"s_id\":0,\"rtype\":0,\"rurl\":null,\"mst\":9,\"cp\":16001,\"mv\":0,\"publishTime\":1126713600000,\"privilege\":{\"id\":26508242,\"fee\":0,\"payed\":0,\"st\":0,\"pl\":320000,\"dl\":320000,\"sp\":7,\"cp\":1,\"subp\":1,\"cs\":false,\"maxbr\":999000,\"fl\":320000,\"toast\":false,\"flag\":2}},{\"name\":\"米店\",\"id\":26522011,\"pst\":0,\"t\":0,\"ar\":[{\"id\":3681,\"name\":\"李志\",\"tns\":[],\"alias\":[]}],\"alia\":[],\"pop\":100.0,\"st\":0,\"rt\":\"\",\"fee\":0,\"v\":13,\"crbt\":null,\"cf\":\"\",\"al\":{\"id\":2515024,\"name\":\"我爱南京\",\"picUrl\":\"http://p1.music.126.net/qDiDdR6wbQCsGsn34dmCVg==/2378243650941255.jpg\",\"tns\":[],\"pic\":2378243650941255},\"dt\":210999,\"h\":{\"br\":320000,\"fid\":0,\"size\":8466664,\"vd\":-0.56},\"m\":{\"br\":160000,\"fid\":0,\"size\":4244755,\"vd\":-0.12},\"l\":{\"br\":96000,\"fid\":0,\"size\":2555991,\"vd\":-0.15},\"a\":null,\"cd\":\"1\",\"no\":13,\"rtUrl\":null,\"ftype\":0,\"rtUrls\":[],\"djId\":0,\"copyright\":1,\"s_id\":0,\"rtype\":0,\"rurl\":null,\"mst\":9,\"cp\":16001,\"mv\":0,\"publishTime\":1255622400007,\"privilege\":{\"id\":26522011,\"fee\":0,\"payed\":0,\"st\":0,\"pl\":320000,\"dl\":320000,\"sp\":7,\"cp\":1,\"subp\":1,\"cs\":false,\"maxbr\":999000,\"fl\":320000,\"toast\":false,\"flag\":2}},{\"name\":\"热河\",\"id\":29724295,\"pst\":0,\"t\":0,\"ar\":[{\"id\":3681,\"name\":\"李志\",\"tns\":[],\"alias\":[]}],\"alia\":[],\"pop\":100.0,\"st\":0,\"rt\":null,\"fee\":0,\"v\":21,\"crbt\":null,\"cf\":\"\",\"al\":{\"id\":3056371,\"name\":\"1701\",\"picUrl\":\"http://p1.music.126.net/t0RSGoEnZ_OGIMvwXCevMQ==/3228166139854194.jpg\",\"tns\":[],\"pic\":3228166139854194},\"dt\":406538,\"h\":{\"br\":320000,\"fid\":0,\"size\":16263950,\"vd\":-2.65076E-4},\"m\":{\"br\":160000,\"fid\":0,\"size\":8132033,\"vd\":-2.65076E-4},\"l\":{\"br\":96000,\"fid\":0,\"size\":4879266,\"vd\":-2.65076E-4},\"a\":null,\"cd\":\"1\",\"no\":6,\"rtUrl\":null,\"ftype\":0,\"rtUrls\":[],\"djId\":0,\"copyright\":2,\"s_id\":0,\"rtype\":0,\"rurl\":null,\"mst\":9,\"cp\":16001,\"mv\":0,\"publishTime\":1415808000000,\"privilege\":{\"id\":29724295,\"fee\":0,\"payed\":0,\"st\":0,\"pl\":320000,\"dl\":320000,\"sp\":7,\"cp\":1,\"subp\":1,\"cs\":false,\"maxbr\":999000,\"fl\":320000,\"toast\":false,\"flag\":2}},{\"name\":\"忽然\",\"id\":26353044,\"pst\":0,\"t\":0,\"ar\":[{\"id\":3681,\"name\":\"李志\",\"tns\":[],\"alias\":[]}],\"alia\":[],\"pop\":100.0,\"st\":0,\"rt\":\"\",\"fee\":0,\"v\":12,\"crbt\":null,\"cf\":\"\",\"al\":{\"id\":2336486,\"name\":\"你好,郑州\",\"picUrl\":\"http://p1.music.126.net/80diFjTazGCdf0Ql3HAqGA==/2296879790481625.jpg\",\"tns\":[],\"pic\":2296879790481625},\"dt\":126853,\"h\":{\"br\":320000,\"fid\":0,\"size\":5094564,\"vd\":1.67599},\"m\":{\"br\":160000,\"fid\":0,\"size\":2555463,\"vd\":2.05952},\"l\":{\"br\":96000,\"fid\":0,\"size\":1539822,\"vd\":2.32495},\"a\":null,\"cd\":\"1\",\"no\":4,\"rtUrl\":null,\"ftype\":0,\"rtUrls\":[],\"djId\":0,\"copyright\":1,\"s_id\":0,\"rtype\":0,\"rurl\":null,\"mst\":9,\"cp\":16001,\"mv\":0,\"publishTime\":1283270400007,\"privilege\":{\"id\":26353044,\"fee\":0,\"payed\":0,\"st\":0,\"pl\":320000,\"dl\":320000,\"sp\":7,\"cp\":1,\"subp\":1,\"cs\":false,\"maxbr\":999000,\"fl\":320000,\"toast\":false,\"flag\":2}},{\"name\":\"定西\",\"id\":29724292,\"pst\":0,\"t\":0,\"ar\":[{\"id\":3681,\"name\":\"李志\",\"tns\":[],\"alias\":[]}],\"alia\":[],\"pop\":100.0,\"st\":0,\"rt\":null,\"fee\":0,\"v\":13,\"crbt\":null,\"cf\":\"\",\"al\":{\"id\":3056371,\"name\":\"1701\",\"picUrl\":\"http://p1.music.126.net/t0RSGoEnZ_OGIMvwXCevMQ==/3228166139854194.jpg\",\"tns\":[],\"pic\":3228166139854194},\"dt\":295882,\"h\":{\"br\":320000,\"fid\":0,\"size\":11837763,\"vd\":-2.65076E-4},\"m\":{\"br\":160000,\"fid\":0,\"size\":5918939,\"vd\":-2.65076E-4},\"l\":{\"br\":96000,\"fid\":0,\"size\":3551409,\"vd\":-2.65076E-4},\"a\":null,\"cd\":\"1\",\"no\":3,\"rtUrl\":null,\"ftype\":0,\"rtUrls\":[],\"djId\":0,\"copyright\":2,\"s_id\":0,\"rtype\":0,\"rurl\":null,\"mst\":9,\"cp\":16001,\"mv\":0,\"publishTime\":1415808000000,\"privilege\":{\"id\":29724292,\"fee\":0,\"payed\":0,\"st\":0,\"pl\":320000,\"dl\":320000,\"sp\":7,\"cp\":1,\"subp\":1,\"cs\":false,\"maxbr\":999000,\"fl\":320000,\"toast\":false,\"flag\":2}},{\"name\":\"和你在一起2013版[Live]\",\"id\":28406900,\"pst\":0,\"t\":0,\"ar\":[{\"id\":3681,\"name\":\"李志\",\"tns\":[],\"alias\":[]}],\"alia\":[],\"pop\":100.0,\"st\":0,\"rt\":\"\",\"fee\":0,\"v\":18,\"crbt\":null,\"cf\":\"\",\"al\":{\"id\":2786478,\"name\":\"勾三搭四（2013 Live）\",\"picUrl\":\"http://p1.music.126.net/q-V2SNRZhYo9sgftJm-olA==/5961552045955874.jpg\",\"tns\":[],\"pic\":5961552045955874},\"dt\":261781,\"h\":{\"br\":320000,\"fid\":0,\"size\":10472010,\"vd\":-0.65},\"m\":{\"br\":160000,\"fid\":0,\"size\":5236027,\"vd\":-0.24},\"l\":{\"br\":96000,\"fid\":0,\"size\":3141634,\"vd\":-0.26},\"a\":null,\"cd\":\"1\",\"no\":1,\"rtUrl\":null,\"ftype\":0,\"rtUrls\":[],\"djId\":0,\"copyright\":2,\"s_id\":0,\"rtype\":0,\"rurl\":null,\"mst\":9,\"cp\":16001,\"mv\":294032,\"publishTime\":1396281600007,\"tns\":[\"Be With You\"],\"privilege\":{\"id\":28406900,\"fee\":0,\"payed\":0,\"st\":0,\"pl\":320000,\"dl\":320000,\"sp\":7,\"cp\":1,\"subp\":1,\"cs\":false,\"maxbr\":320000,\"fl\":320000,\"toast\":false,\"flag\":2}},{\"name\":\"寻找\",\"id\":26508228,\"pst\":0,\"t\":0,\"ar\":[{\"id\":3681,\"name\":\"李志\",\"tns\":[],\"alias\":[]}],\"alia\":[],\"pop\":100.0,\"st\":0,\"rt\":\"\",\"fee\":0,\"v\":16,\"crbt\":null,\"cf\":\"\",\"al\":{\"id\":2515028,\"name\":\"F\",\"picUrl\":\"http://p1.music.126.net/7w7pX7BKTdBcFF1AtuZC2g==/5957153999486269.jpg\",\"tns\":[],\"pic\":5957153999486269},\"dt\":225071,\"h\":null,\"m\":{\"br\":160000,\"fid\":0,\"size\":4513054,\"vd\":0.417572},\"l\":{\"br\":96000,\"fid\":0,\"size\":2713530,\"vd\":0.324343},\"a\":null,\"cd\":\"1\",\"no\":1,\"rtUrl\":null,\"ftype\":0,\"rtUrls\":[],\"djId\":0,\"copyright\":1,\"s_id\":0,\"rtype\":0,\"rurl\":null,\"mst\":9,\"cp\":16001,\"mv\":290060,\"publishTime\":1317225600007,\"privilege\":{\"id\":26508228,\"fee\":0,\"payed\":0,\"st\":0,\"pl\":320000,\"dl\":320000,\"sp\":7,\"cp\":1,\"subp\":1,\"cs\":false,\"maxbr\":192000,\"fl\":320000,\"toast\":false,\"flag\":2}},{\"name\":\"送别\",\"id\":435948318,\"pst\":0,\"t\":0,\"ar\":[{\"id\":3681,\"name\":\"李志\",\"tns\":[],\"alias\":[]}],\"alia\":[],\"pop\":100.0,\"st\":0,\"rt\":\"\",\"fee\":0,\"v\":14,\"crbt\":null,\"cf\":\"\",\"al\":{\"id\":34914649,\"name\":\"《8》\",\"picUrl\":\"http://p1.music.126.net/My-dbWJBANW4qr5CCqIiAw==/17684545021514178.jpg\",\"tns\":[],\"pic_str\":\"17684545021514178\",\"pic\":17684545021514178},\"dt\":202427,\"h\":{\"br\":320000,\"fid\":0,\"size\":8100093,\"vd\":0.0782854},\"m\":{\"br\":160000,\"fid\":0,\"size\":4050069,\"vd\":0.505068},\"l\":{\"br\":96000,\"fid\":0,\"size\":2430059,\"vd\":0.234009},\"a\":null,\"cd\":\"1\",\"no\":9,\"rtUrl\":null,\"ftype\":0,\"rtUrls\":[],\"djId\":0,\"copyright\":0,\"s_id\":0,\"rtype\":0,\"rurl\":null,\"mst\":9,\"cp\":0,\"mv\":0,\"publishTime\":1476761806570,\"privilege\":{\"id\":435948318,\"fee\":0,\"payed\":0,\"st\":0,\"pl\":320000,\"dl\":320000,\"sp\":7,\"cp\":1,\"subp\":1,\"cs\":false,\"maxbr\":999000,\"fl\":320000,\"toast\":false,\"flag\":2}},{\"name\":\"墙上的向日葵(2014i/O版)\",\"id\":30212877,\"pst\":0,\"t\":0,\"ar\":[{\"id\":3681,\"name\":\"李志\",\"tns\":[],\"alias\":[]}],\"alia\":[],\"pop\":100.0,\"st\":0,\"rt\":null,\"fee\":0,\"v\":27,\"crbt\":null,\"cf\":\"\",\"al\":{\"id\":3091514,\"name\":\"i/O（2014 Live）\",\"picUrl\":\"http://p1.music.126.net/g8rtg6LCWuENs4pgZeTyvg==/2539871863244150.jpg\",\"tns\":[],\"pic\":2539871863244150},\"dt\":482246,\"h\":{\"br\":320000,\"fid\":0,\"size\":19291994,\"vd\":-0.31},\"m\":{\"br\":160000,\"fid\":0,\"size\":9646019,\"vd\":-2.65076E-4},\"l\":{\"br\":96000,\"fid\":0,\"size\":5787629,\"vd\":-2.65076E-4},\"a\":null,\"cd\":\"1\",\"no\":2,\"rtUrl\":null,\"ftype\":0,\"rtUrls\":[],\"djId\":0,\"copyright\":1,\"s_id\":0,\"rtype\":0,\"rurl\":null,\"mst\":9,\"cp\":16001,\"mv\":386086,\"publishTime\":1426003200007,\"privilege\":{\"id\":30212877,\"fee\":0,\"payed\":0,\"st\":0,\"pl\":320000,\"dl\":320000,\"sp\":7,\"cp\":1,\"subp\":1,\"cs\":false,\"maxbr\":320000,\"fl\":320000,\"toast\":false,\"flag\":2}},{\"name\":\"结婚\",\"id\":26508184,\"pst\":0,\"t\":0,\"ar\":[{\"id\":3681,\"name\":\"李志\",\"tns\":[],\"alias\":[]}],\"alia\":[],\"pop\":100.0,\"st\":0,\"rt\":\"\",\"fee\":0,\"v\":13,\"crbt\":null,\"cf\":\"\",\"al\":{\"id\":2515024,\"name\":\"我爱南京\",\"picUrl\":\"http://p1.music.126.net/qDiDdR6wbQCsGsn34dmCVg==/2378243650941255.jpg\",\"tns\":[],\"pic\":2378243650941255},\"dt\":352620,\"h\":{\"br\":320000,\"fid\":0,\"size\":14131056,\"vd\":0.0},\"m\":{\"br\":160000,\"fid\":0,\"size\":7076951,\"vd\":0.346384},\"l\":{\"br\":96000,\"fid\":0,\"size\":4255308,\"vd\":-2.65076E-4},\"a\":null,\"cd\":\"1\",\"no\":3,\"rtUrl\":null,\"ftype\":0,\"rtUrls\":[],\"djId\":0,\"copyright\":1,\"s_id\":0,\"rtype\":0,\"rurl\":null,\"mst\":9,\"cp\":16001,\"mv\":0,\"publishTime\":1255622400007,\"privilege\":{\"id\":26508184,\"fee\":0,\"payed\":0,\"st\":0,\"pl\":320000,\"dl\":320000,\"sp\":7,\"cp\":1,\"subp\":1,\"cs\":false,\"maxbr\":999000,\"fl\":320000,\"toast\":false,\"flag\":2}},{\"name\":\"山阴路的夏天 (2016 unplugged)\",\"id\":424477867,\"pst\":0,\"t\":0,\"ar\":[{\"id\":3681,\"name\":\"李志\",\"tns\":[],\"alias\":[]},{\"id\":0,\"name\":\"张怡然\",\"tns\":[],\"alias\":[]}],\"alia\":[],\"pop\":100.0,\"st\":0,\"rt\":null,\"fee\":8,\"v\":8,\"crbt\":null,\"cf\":\"\",\"al\":{\"id\":34808540,\"name\":\"李志北京不插电现场 2016.5.29\",\"picUrl\":\"http://p1.music.126.net/RN-nvLgMuLujEvbMRUFQvA==/3420580718570196.jpg\",\"tns\":[],\"pic\":3420580718570196},\"dt\":343418,\"h\":{\"br\":320000,\"fid\":0,\"size\":13739407,\"vd\":-0.49},\"m\":{\"br\":160000,\"fid\":0,\"size\":6869726,\"vd\":-0.07},\"l\":{\"br\":96000,\"fid\":0,\"size\":4121854,\"vd\":-0.12},\"a\":null,\"cd\":\"1\",\"no\":12,\"rtUrl\":null,\"ftype\":0,\"rtUrls\":[],\"djId\":0,\"copyright\":2,\"s_id\":0,\"rtype\":0,\"rurl\":null,\"mst\":9,\"cp\":433013,\"mv\":0,\"publishTime\":1470844800007,\"privilege\":{\"id\":424477867,\"fee\":8,\"payed\":0,\"st\":0,\"pl\":128000,\"dl\":0,\"sp\":7,\"cp\":1,\"subp\":1,\"cs\":false,\"maxbr\":999000,\"fl\":128000,\"toast\":false,\"flag\":2}},{\"name\":\"兰花草\",\"id\":435948312,\"pst\":0,\"t\":0,\"ar\":[{\"id\":3681,\"name\":\"李志\",\"tns\":[],\"alias\":[]}],\"alia\":[],\"pop\":100.0,\"st\":0,\"rt\":\"\",\"fee\":0,\"v\":13,\"crbt\":null,\"cf\":\"\",\"al\":{\"id\":34914649,\"name\":\"《8》\",\"picUrl\":\"http://p1.music.126.net/My-dbWJBANW4qr5CCqIiAw==/17684545021514178.jpg\",\"tns\":[],\"pic_str\":\"17684545021514178\",\"pic\":17684545021514178},\"dt\":164025,\"h\":{\"br\":320000,\"fid\":0,\"size\":6564093,\"vd\":-2.65076E-4},\"m\":{\"br\":160000,\"fid\":0,\"size\":3282069,\"vd\":0.0265486},\"l\":{\"br\":96000,\"fid\":0,\"size\":1969259,\"vd\":-2.65076E-4},\"a\":null,\"cd\":\"1\",\"no\":3,\"rtUrl\":null,\"ftype\":0,\"rtUrls\":[],\"djId\":0,\"copyright\":0,\"s_id\":0,\"rtype\":0,\"rurl\":null,\"mst\":9,\"cp\":0,\"mv\":0,\"publishTime\":1476761806570,\"privilege\":{\"id\":435948312,\"fee\":0,\"payed\":0,\"st\":0,\"pl\":320000,\"dl\":320000,\"sp\":7,\"cp\":1,\"subp\":1,\"cs\":false,\"maxbr\":999000,\"fl\":320000,\"toast\":false,\"flag\":2}},{\"name\":\"杭州\",\"id\":26508235,\"pst\":0,\"t\":0,\"ar\":[{\"id\":3681,\"name\":\"李志\",\"tns\":[],\"alias\":[]}],\"alia\":[],\"pop\":100.0,\"st\":0,\"rt\":\"\",\"fee\":0,\"v\":16,\"crbt\":null,\"cf\":\"\",\"al\":{\"id\":2515028,\"name\":\"F\",\"picUrl\":\"http://p1.music.126.net/7w7pX7BKTdBcFF1AtuZC2g==/5957153999486269.jpg\",\"tns\":[],\"pic\":5957153999486269},\"dt\":238178,\"h\":{\"br\":320000,\"fid\":0,\"size\":9529577,\"vd\":-3.3},\"m\":{\"br\":160000,\"fid\":0,\"size\":4764843,\"vd\":-2.87},\"l\":{\"br\":96000,\"fid\":0,\"size\":2858949,\"vd\":-2.91},\"a\":null,\"cd\":\"1\",\"no\":8,\"rtUrl\":null,\"ftype\":0,\"rtUrls\":[],\"djId\":0,\"copyright\":1,\"s_id\":0,\"rtype\":0,\"rurl\":null,\"mst\":9,\"cp\":16001,\"mv\":290064,\"publishTime\":1317225600007,\"privilege\":{\"id\":26508235,\"fee\":0,\"payed\":0,\"st\":0,\"pl\":320000,\"dl\":320000,\"sp\":7,\"cp\":1,\"subp\":1,\"cs\":false,\"maxbr\":999000,\"fl\":320000,\"toast\":false,\"flag\":2}},{\"name\":\"回答\",\"id\":478490652,\"pst\":0,\"t\":0,\"ar\":[{\"id\":3681,\"name\":\"李志\",\"tns\":[],\"alias\":[]}],\"alia\":[],\"pop\":100.0,\"st\":0,\"rt\":null,\"fee\":8,\"v\":16,\"crbt\":null,\"cf\":\"\",\"al\":{\"id\":35501199,\"name\":\"李志、电声与管弦乐\",\"picUrl\":\"http://p1.music.126.net/aQwr_LalAJJ03qDW6JivUg==/18574049929931926.jpg\",\"tns\":[],\"pic_str\":\"18574049929931926\",\"pic\":18574049929931926},\"dt\":378378,\"h\":{\"br\":320000,\"fid\":0,\"size\":15137480,\"vd\":-2.42},\"m\":{\"br\":160000,\"fid\":0,\"size\":7568763,\"vd\":-2.0},\"l\":{\"br\":96000,\"fid\":0,\"size\":4541276,\"vd\":-2.06},\"a\":null,\"cd\":\"1\",\"no\":12,\"rtUrl\":null,\"ftype\":0,\"rtUrls\":[],\"djId\":0,\"copyright\":2,\"s_id\":0,\"rtype\":0,\"rurl\":null,\"mst\":9,\"cp\":0,\"mv\":5606607,\"publishTime\":1494864000007,\"privilege\":{\"id\":478490652,\"fee\":8,\"payed\":0,\"st\":0,\"pl\":128000,\"dl\":0,\"sp\":7,\"cp\":1,\"subp\":1,\"cs\":false,\"maxbr\":999000,\"fl\":128000,\"toast\":false,\"flag\":3}},{\"name\":\"离婚\",\"id\":26508209,\"pst\":0,\"t\":0,\"ar\":[{\"id\":3681,\"name\":\"李志\",\"tns\":[],\"alias\":[]}],\"alia\":[],\"pop\":100.0,\"st\":0,\"rt\":\"\",\"fee\":0,\"v\":15,\"crbt\":null,\"cf\":\"\",\"al\":{\"id\":2515026,\"name\":\"被禁忌的游戏\",\"picUrl\":\"http://p1.music.126.net/cYGiS-NIhAElWdpFkyFqFQ==/2378243650941258.jpg\",\"tns\":[],\"pic\":2378243650941258},\"dt\":295813,\"h\":{\"br\":320000,\"fid\":0,\"size\":11835602,\"vd\":5.27597},\"m\":{\"br\":160000,\"fid\":0,\"size\":5917823,\"vd\":5.19316},\"l\":{\"br\":96000,\"fid\":0,\"size\":3550711,\"vd\":4.93998},\"a\":null,\"cd\":\"1\",\"no\":4,\"rtUrl\":null,\"ftype\":0,\"rtUrls\":[],\"djId\":0,\"copyright\":1,\"s_id\":0,\"rtype\":0,\"rurl\":null,\"mst\":9,\"cp\":16001,\"mv\":0,\"publishTime\":1101830400000,\"privilege\":{\"id\":26508209,\"fee\":0,\"payed\":0,\"st\":0,\"pl\":320000,\"dl\":320000,\"sp\":7,\"cp\":1,\"subp\":1,\"cs\":false,\"maxbr\":999000,\"fl\":320000,\"toast\":false,\"flag\":2}},{\"name\":\"忽然（2012 Live）\",\"id\":35030225,\"pst\":0,\"t\":0,\"ar\":[{\"id\":3681,\"name\":\"李志\",\"tns\":[],\"alias\":[]}],\"alia\":[],\"pop\":100.0,\"st\":0,\"rt\":\"\",\"fee\":0,\"v\":11,\"crbt\":null,\"cf\":\"\",\"al\":{\"id\":3313077,\"name\":\"108个关键词（2012 Live）\",\"picUrl\":\"http://p1.music.126.net/7NyOL2vihTXnSEK8Lc_GVQ==/18322261765312464.jpg\",\"tns\":[],\"pic_str\":\"18322261765312464\",\"pic\":18322261765312464},\"dt\":193253,\"h\":{\"br\":320000,\"fid\":0,\"size\":7732288,\"vd\":1.34296},\"m\":{\"br\":160000,\"fid\":0,\"size\":3866166,\"vd\":1.74831},\"l\":{\"br\":96000,\"fid\":0,\"size\":2319717,\"vd\":1.9437},\"a\":null,\"cd\":\"1\",\"no\":5,\"rtUrl\":null,\"ftype\":0,\"rtUrls\":[],\"djId\":0,\"copyright\":0,\"s_id\":0,\"rtype\":0,\"rurl\":null,\"mst\":9,\"cp\":0,\"mv\":0,\"publishTime\":1356883200000,\"privilege\":{\"id\":35030225,\"fee\":0,\"payed\":0,\"st\":0,\"pl\":320000,\"dl\":320000,\"sp\":7,\"cp\":1,\"subp\":1,\"cs\":false,\"maxbr\":320000,\"fl\":320000,\"toast\":false,\"flag\":2}},{\"name\":\"听妈妈讲那过去的事情\",\"id\":26522009,\"pst\":0,\"t\":0,\"ar\":[{\"id\":3681,\"name\":\"李志\",\"tns\":[],\"alias\":[]}],\"alia\":[],\"pop\":100.0,\"st\":0,\"rt\":\"\",\"fee\":0,\"v\":13,\"crbt\":null,\"cf\":\"\",\"al\":{\"id\":2515024,\"name\":\"我爱南京\",\"picUrl\":\"http://p1.music.126.net/qDiDdR6wbQCsGsn34dmCVg==/2378243650941255.jpg\",\"tns\":[],\"pic\":2378243650941255},\"dt\":169693,\"h\":{\"br\":320000,\"fid\":0,\"size\":6814696,\"vd\":-1.54},\"m\":{\"br\":160000,\"fid\":0,\"size\":3418779,\"vd\":-1.1},\"l\":{\"br\":96000,\"fid\":0,\"size\":2060412,\"vd\":-1.1},\"a\":null,\"cd\":\"1\",\"no\":11,\"rtUrl\":null,\"ftype\":0,\"rtUrls\":[],\"djId\":0,\"copyright\":1,\"s_id\":0,\"rtype\":0,\"rurl\":null,\"mst\":9,\"cp\":14031,\"mv\":0,\"publishTime\":1255622400007,\"privilege\":{\"id\":26522009,\"fee\":0,\"payed\":0,\"st\":0,\"pl\":320000,\"dl\":320000,\"sp\":7,\"cp\":1,\"subp\":1,\"cs\":false,\"maxbr\":999000,\"fl\":320000,\"toast\":false,\"flag\":2}},{\"name\":\"黑色信封\",\"id\":478491642,\"pst\":0,\"t\":0,\"ar\":[{\"id\":3681,\"name\":\"李志\",\"tns\":[],\"alias\":[]}],\"alia\":[],\"pop\":100.0,\"st\":0,\"rt\":null,\"fee\":8,\"v\":16,\"crbt\":null,\"cf\":\"\",\"al\":{\"id\":35501199,\"name\":\"李志、电声与管弦乐\",\"picUrl\":\"http://p1.music.126.net/aQwr_LalAJJ03qDW6JivUg==/18574049929931926.jpg\",\"tns\":[],\"pic_str\":\"18574049929931926\",\"pic\":18574049929931926},\"dt\":333952,\"h\":{\"br\":320000,\"fid\":0,\"size\":13361154,\"vd\":-2.05},\"m\":{\"br\":160000,\"fid\":0,\"size\":6680600,\"vd\":-1.63},\"l\":{\"br\":96000,\"fid\":0,\"size\":4008378,\"vd\":-1.65},\"a\":null,\"cd\":\"1\",\"no\":6,\"rtUrl\":null,\"ftype\":0,\"rtUrls\":[],\"djId\":0,\"copyright\":2,\"s_id\":0,\"rtype\":0,\"rurl\":null,\"mst\":9,\"cp\":0,\"mv\":5606609,\"publishTime\":1494864000007,\"privilege\":{\"id\":478491642,\"fee\":8,\"payed\":0,\"st\":0,\"pl\":128000,\"dl\":0,\"sp\":7,\"cp\":1,\"subp\":1,\"cs\":false,\"maxbr\":999000,\"fl\":128000,\"toast\":false,\"flag\":3}},{\"name\":\"定西(2014i/O版)\",\"id\":30967315,\"pst\":0,\"t\":0,\"ar\":[{\"id\":3681,\"name\":\"李志\",\"tns\":[],\"alias\":[]}],\"alia\":[],\"pop\":100.0,\"st\":0,\"rt\":null,\"fee\":0,\"v\":18,\"crbt\":null,\"cf\":\"\",\"al\":{\"id\":3091514,\"name\":\"i/O（2014 Live）\",\"picUrl\":\"http://p1.music.126.net/g8rtg6LCWuENs4pgZeTyvg==/2539871863244150.jpg\",\"tns\":[],\"pic\":2539871863244150},\"dt\":301583,\"h\":{\"br\":320000,\"fid\":0,\"size\":12065479,\"vd\":-0.56},\"m\":{\"br\":160000,\"fid\":0,\"size\":6032762,\"vd\":-0.14},\"l\":{\"br\":96000,\"fid\":0,\"size\":3619675,\"vd\":-0.15},\"a\":null,\"cd\":\"1\",\"no\":8,\"rtUrl\":null,\"ftype\":0,\"rtUrls\":[],\"djId\":0,\"copyright\":2,\"s_id\":0,\"rtype\":0,\"rurl\":null,\"mst\":9,\"cp\":16001,\"mv\":0,\"publishTime\":1426003200007,\"privilege\":{\"id\":30967315,\"fee\":0,\"payed\":0,\"st\":0,\"pl\":320000,\"dl\":320000,\"sp\":7,\"cp\":1,\"subp\":1,\"cs\":false,\"maxbr\":320000,\"fl\":320000,\"toast\":false,\"flag\":2}},{\"name\":\"你离开了南京，从此没有人和我说话 2015现场版\",\"id\":34200930,\"pst\":0,\"t\":0,\"ar\":[{\"id\":3681,\"name\":\"李志\",\"tns\":[],\"alias\":[]}],\"alia\":[],\"pop\":100.0,\"st\":0,\"rt\":null,\"fee\":0,\"v\":10,\"crbt\":null,\"cf\":\"\",\"al\":{\"id\":3117093,\"name\":\"看见\",\"picUrl\":\"http://p1.music.126.net/dG7OF1YlLQRlDStqHScJoQ==/2943392627712408.jpg\",\"tns\":[],\"pic\":2943392627712408},\"dt\":124648,\"h\":{\"br\":320000,\"fid\":0,\"size\":4988386,\"vd\":5.64018},\"m\":{\"br\":160000,\"fid\":0,\"size\":2494215,\"vd\":6.16521},\"l\":{\"br\":96000,\"fid\":0,\"size\":1496546,\"vd\":6.15497},\"a\":null,\"cd\":\"1\",\"no\":5,\"rtUrl\":null,\"ftype\":0,\"rtUrls\":[],\"djId\":0,\"copyright\":0,\"s_id\":0,\"rtype\":0,\"rurl\":null,\"mst\":9,\"cp\":16001,\"mv\":0,\"publishTime\":1435334400007,\"privilege\":{\"id\":34200930,\"fee\":0,\"payed\":0,\"st\":0,\"pl\":320000,\"dl\":320000,\"sp\":7,\"cp\":1,\"subp\":1,\"cs\":false,\"maxbr\":999000,\"fl\":320000,\"toast\":false,\"flag\":2}},{\"name\":\"不多\",\"id\":29724294,\"pst\":0,\"t\":0,\"ar\":[{\"id\":3681,\"name\":\"李志\",\"tns\":[],\"alias\":[]}],\"alia\":[],\"pop\":100.0,\"st\":0,\"rt\":null,\"fee\":0,\"v\":11,\"crbt\":null,\"cf\":\"\",\"al\":{\"id\":3056371,\"name\":\"1701\",\"picUrl\":\"http://p1.music.126.net/t0RSGoEnZ_OGIMvwXCevMQ==/3228166139854194.jpg\",\"tns\":[],\"pic\":3228166139854194},\"dt\":236541,\"h\":{\"br\":320000,\"fid\":0,\"size\":9464799,\"vd\":-2.65076E-4},\"m\":{\"br\":160000,\"fid\":0,\"size\":4732457,\"vd\":-2.65076E-4},\"l\":{\"br\":96000,\"fid\":0,\"size\":2839520,\"vd\":-2.65076E-4},\"a\":null,\"cd\":\"1\",\"no\":5,\"rtUrl\":null,\"ftype\":0,\"rtUrls\":[],\"djId\":0,\"copyright\":2,\"s_id\":0,\"rtype\":0,\"rurl\":null,\"mst\":9,\"cp\":16001,\"mv\":0,\"publishTime\":1415808000000,\"privilege\":{\"id\":29724294,\"fee\":0,\"payed\":0,\"st\":0,\"pl\":320000,\"dl\":320000,\"sp\":7,\"cp\":1,\"subp\":1,\"cs\":false,\"maxbr\":999000,\"fl\":320000,\"toast\":false,\"flag\":2}},{\"name\":\"谁他妈没织过毛衣\",\"id\":28590174,\"pst\":0,\"t\":0,\"ar\":[{\"id\":3681,\"name\":\"李志\",\"tns\":[],\"alias\":[]}],\"alia\":[],\"pop\":100.0,\"st\":0,\"rt\":null,\"fee\":0,\"v\":673,\"crbt\":null,\"cf\":\"\",\"al\":{\"id\":2847068,\"name\":\"热门华语219\",\"picUrl\":\"http://p1.music.126.net/wKd7AutpY4Z7_Hxisi9ZEw==/3306231465784387.jpg\",\"tns\":[],\"pic\":3306231465784387},\"dt\":138266,\"h\":null,\"m\":{\"br\":128000,\"fid\":0,\"size\":2232637,\"vd\":1.75382},\"l\":{\"br\":96000,\"fid\":0,\"size\":1680094,\"vd\":2.24838},\"a\":null,\"cd\":\"1\",\"no\":1,\"rtUrl\":null,\"ftype\":0,\"rtUrls\":[],\"djId\":0,\"copyright\":2,\"s_id\":0,\"rtype\":0,\"rurl\":null,\"mst\":9,\"cp\":0,\"mv\":0,\"publishTime\":1388505600004,\"privilege\":{\"id\":28590174,\"fee\":0,\"payed\":0,\"st\":0,\"pl\":320000,\"dl\":320000,\"sp\":7,\"cp\":1,\"subp\":1,\"cs\":false,\"maxbr\":128000,\"fl\":320000,\"toast\":false,\"flag\":0}},{\"name\":\"被禁忌的游戏\",\"id\":26508205,\"pst\":0,\"t\":0,\"ar\":[{\"id\":3681,\"name\":\"李志\",\"tns\":[],\"alias\":[]}],\"alia\":[],\"pop\":100.0,\"st\":0,\"rt\":\"\",\"fee\":0,\"v\":15,\"crbt\":null,\"cf\":\"\",\"al\":{\"id\":2515026,\"name\":\"被禁忌的游戏\",\"picUrl\":\"http://p1.music.126.net/cYGiS-NIhAElWdpFkyFqFQ==/2378243650941258.jpg\",\"tns\":[],\"pic\":2378243650941258},\"dt\":377826,\"h\":{\"br\":320000,\"fid\":0,\"size\":15115537,\"vd\":4.95029},\"m\":{\"br\":160000,\"fid\":0,\"size\":7557791,\"vd\":4.91707},\"l\":{\"br\":96000,\"fid\":0,\"size\":4534692,\"vd\":4.59759},\"a\":null,\"cd\":\"1\",\"no\":7,\"rtUrl\":null,\"ftype\":0,\"rtUrls\":[],\"djId\":0,\"copyright\":1,\"s_id\":0,\"rtype\":0,\"rurl\":null,\"mst\":9,\"cp\":16001,\"mv\":0,\"publishTime\":1101830400000,\"privilege\":{\"id\":26508205,\"fee\":0,\"payed\":0,\"st\":0,\"pl\":320000,\"dl\":320000,\"sp\":7,\"cp\":1,\"subp\":1,\"cs\":false,\"maxbr\":999000,\"fl\":320000,\"toast\":false,\"flag\":2}},{\"name\":\"墙上的向日葵\",\"id\":478490650,\"pst\":0,\"t\":0,\"ar\":[{\"id\":3681,\"name\":\"李志\",\"tns\":[],\"alias\":[]}],\"alia\":[],\"pop\":100.0,\"st\":0,\"rt\":null,\"fee\":8,\"v\":16,\"crbt\":null,\"cf\":\"\",\"al\":{\"id\":35501199,\"name\":\"李志、电声与管弦乐\",\"picUrl\":\"http://p1.music.126.net/aQwr_LalAJJ03qDW6JivUg==/18574049929931926.jpg\",\"tns\":[],\"pic_str\":\"18574049929931926\",\"pic\":18574049929931926},\"dt\":465045,\"h\":{\"br\":320000,\"fid\":0,\"size\":18604452,\"vd\":-2.46},\"m\":{\"br\":160000,\"fid\":0,\"size\":9302249,\"vd\":-2.04},\"l\":{\"br\":96000,\"fid\":0,\"size\":5581367,\"vd\":-2.06},\"a\":null,\"cd\":\"1\",\"no\":9,\"rtUrl\":null,\"ftype\":0,\"rtUrls\":[],\"djId\":0,\"copyright\":2,\"s_id\":0,\"rtype\":0,\"rurl\":null,\"mst\":9,\"cp\":0,\"mv\":5606635,\"publishTime\":1494864000007,\"privilege\":{\"id\":478490650,\"fee\":8,\"payed\":0,\"st\":0,\"pl\":128000,\"dl\":0,\"sp\":7,\"cp\":1,\"subp\":1,\"cs\":false,\"maxbr\":999000,\"fl\":128000,\"toast\":false,\"flag\":3}},{\"name\":\"苍井空\",\"id\":26508183,\"pst\":0,\"t\":0,\"ar\":[{\"id\":3681,\"name\":\"李志\",\"tns\":[],\"alias\":[]}],\"alia\":[],\"pop\":100.0,\"st\":0,\"rt\":\"\",\"fee\":0,\"v\":13,\"crbt\":null,\"cf\":\"\",\"al\":{\"id\":2515024,\"name\":\"我爱南京\",\"picUrl\":\"http://p1.music.126.net/qDiDdR6wbQCsGsn34dmCVg==/2378243650941255.jpg\",\"tns\":[],\"pic\":2378243650941255},\"dt\":260290,\"h\":{\"br\":320000,\"fid\":0,\"size\":10438389,\"vd\":-2.65076E-4},\"m\":{\"br\":160000,\"fid\":0,\"size\":5230618,\"vd\":0.0188411},\"l\":{\"br\":96000,\"fid\":0,\"size\":3147509,\"vd\":-2.65076E-4},\"a\":null,\"cd\":\"1\",\"no\":2,\"rtUrl\":null,\"ftype\":0,\"rtUrls\":[],\"djId\":0,\"copyright\":1,\"s_id\":0,\"rtype\":0,\"rurl\":null,\"mst\":9,\"cp\":16001,\"mv\":0,\"publishTime\":1255622400007,\"privilege\":{\"id\":26508183,\"fee\":0,\"payed\":0,\"st\":0,\"pl\":320000,\"dl\":320000,\"sp\":7,\"cp\":1,\"subp\":1,\"cs\":false,\"maxbr\":999000,\"fl\":320000,\"toast\":false,\"flag\":2}}],\"songCount\":600},\"code\":200}'"
      ]
     },
     "execution_count": 6,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "url = 'http://music.163.com/weapi/cloudsearch/get/web?csrf_token='\n",
    "response = requests.post(url, headers=header, data=data)\n",
    "response.text"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "import sqlite3 as mysql"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "ename": "OperationalError",
     "evalue": "unable to open database file",
     "output_type": "error",
     "traceback": [
      "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
      "\u001b[0;31mOperationalError\u001b[0m                          Traceback (most recent call last)",
      "\u001b[0;32m<ipython-input-8-8e241cccba9f>\u001b[0m in \u001b[0;36m<module>\u001b[0;34m()\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0mconn\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mmysql\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mconnect\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;34m'H:\\\\Net3.db'\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m      2\u001b[0m \u001b[0mcursor\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mconn\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mcursor\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m      3\u001b[0m \u001b[0mselect\u001b[0m \u001b[1;33m=\u001b[0m \u001b[1;34m'select * from MUSIC'\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m      4\u001b[0m \u001b[0mcursor\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mexecute\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mselect\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m      5\u001b[0m \u001b[0mcursor\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mfetchall\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
      "\u001b[0;31mOperationalError\u001b[0m: unable to open database file"
     ]
    }
   ],
   "source": [
    "conn = mysql.connect('H:\\\\Net3.db')\n",
    "cursor = conn.cursor()\n",
    "select = 'select * from MUSIC'\n",
    "cursor.execute(select)\n",
    "cursor.fetchall()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.2"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
